# 导入整个模块
import automobie
my_H5=automobie.Car('Haval','H5',2016)
my_BWM=automobie.Electriccar('BWM','i8',2020)

print(my_H5.get_descriptive_name())
my_H5.read_odemeter()
my_H5.fill_gas_tank()

print("----------------------------------")

print(my_BWM.get_descriptive_name())
my_BWM.battery.describe_battery()
print(my_BWM.battery.get_range())
my_BWM.battery.fill_gas_tank()